import { createApp } from "vue";
import { createPinia } from "pinia";
import router from "./router";
import App from "./App.vue";
// 安装引入样式初始化文件
import "reset-css";
//公共样式
import "@/assets/css/public.less";

const pinia = createPinia();
const app = createApp(App);

// 全局变量设置
app.config.globalProperties.$imgBaseUrl = "https://sc.wolfcode.cn";

//注册pinia公共仓库
app.use(pinia);

//注册路由
app.use(router);
app.mount("#app");
